# 使用正则表达式匹配字符集合
# import re
#
# s = "abc"
# print(re.findall('a|b', s))

# import re
#
# str = "110,120,210,170"
#
# result = re.findall("1[12]0", str)
# print(result)

# import re
#
# str = "110,120,210,170"
#
# result = re.findall("1[1-9]0", str)
# print(result)

import re

str = "110,120,210,170,1c0,1a0"

result = re.findall("1[^1-9]0", str)
print(result)
